package com.gtw.modules.api.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.gtw.modules.entity.TbCollection;

import java.util.Map;

/** 用户收藏接口
 * Created by wuye on 2018/2/1.
 */
public interface TbCollectionService {

    TbCollection queryObject(Integer id);

    TbCollection queryByCommodity(String uid,Integer commodityid);

    Page<TbCollection> queryPageList(Page<TbCollection> pageUtil, Map<String, Object> map);

    TbCollection save(TbCollection tbOrder);

    void update(TbCollection tbOrder);

    void deleteBatch(Integer[] id);
}
